package com.lyf.alg.review842.course2014.service;

import com.lyf.alg.review842.course2014.entity.CourseBean;

import java.util.List;

/**
 * @AUTHOR LYF
 * @DATE 2022/2/25
 * @VERSION 1.0
 * @DESC
 * 课表的增删改查
 * 拓展性？采用抽象类？
 */
public interface CourseManagerService {
    boolean add(CourseBean courseBean);
    boolean deleteById(Integer id);
    boolean updateById(Integer id,CourseBean courseBean);
    List<CourseBean> queryByName(String name);
    default List<CourseBean> queryById(Integer id) {

        return null;
    }

}
